package last.multicode.fund;

public class OneFund extends Fund {
    double a;

    public OneFund(int n, int num, double a) {
        super(n, num);
        this.a = a;
    }

    double value(int day) {
        return a * day;
    }
}
